Problem Note 17882: User-written ODS code might cause SASĀ® Enterprise Guide to hang
ODS code similar to the following will successfully execute in SAS
Enterprise Guide 2.x and 3.x, but might hang when executed from SAS
Enterprise Guide 4.1.
ods listing close;
ods html file='c:/temp/print.htm';
proc print data=sashelp.class;
run;
ods listing;
This code might also hang when executed from SAS Enterprise Guide onto a
SAS server running on a Unix machine:
ods listing close;
ods html file='~/print.htm';
proc print data=sashelp.class;
run;
ods listing;
In some cases the correct HTML results will be generated, but
SAS Enterprise Guide 4.1 will display in the Task Status window that a
procedure is still running.
You can right-click on the task and choose End SAS. This will disconnect
SAS, but SAS Enterprise Guide will stay open so you can continue to
work.
To circumvent the problem, change the forward slashes (/) to backward
slashes (\), or do not use the tilde (~) symbol in the file's path.
ODS code similar to the following will successfully execute in SAS
Enterprise Guide 2.x and 3.x, but will hang when executed from SAS
Enterprise Guide 4.1.
ods html headtext="Portfolio Commentary"
style=sasweb
path="c:\_myuserdata\nicole\monthly_commentary\reports\" (url=none)
frame="monthly_commentary_report.html"
contents="sub\monthly_commentary_toc.html"
body="sub\monthly_commentary_tables.html";
proc print data=sashelp.class;
run;
ods html close;
To circumvent the problem in the above example, remove the 'sub' folders.
Operating System and Release Information
SAS System | SAS Enterprise Guide | Microsoft Windows XP Professional | 4.1 | 4.2 | 9.1 TS1M3 SP1 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 4.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2007-10-16 11:19:58 |
Date Created: | 2006-06-15 12:26:51 |